home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
util
/
batch
/
BGUIMenu.lha
/
Examples
/
Example2.def
< prev
next >
Wrap
Text File
|
1995-09-05
|
758b
|
40 lines
QUITMENU
REM
REM Use three Columns
REM
COLS 3
WINDOWTITLE BGUIMenu Example
TITLE Example #2
TITLE Select one of the items below
TITLE or select "End" to end the demo.
REM
REM Menu definition with Keys
REM
MENU Item 1
KEY I
EXEC echo "You selected Item 1"
MENU My next Item
KEY M
EXEC echo "You selected My next Item"
MENU Yet another one
KEY Y
EXEC echo "You selected yet another one"
MENU Let's do some action
KEY A
EXEC echo "Did you really expect something ? :-)"
MENU ZZZ
KEY Z
EXEC echo "Sleeping before the computer ? Better go to bed!"
MENU Item 2
KEY 2
EXEC echo "You selected Item 2"
MENU Open a new shell
KEY N
EXEC newshell
MENU Best demo of all
KEY D
EXEC echo "Wow that was a great demo."
MENU The end
KEY E
EXEC echo "Is this really the end ?"